<script>
export default {
  name: "t"
}
</script>

<template>
  <h1>布局组件</h1>
  <el-row>
    <el-col :span="6" style="background-color: #f00">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6" style="background-color: #f00"></el-col>
    <el-col :span="6">测试数据</el-col>
  </el-row>


  <h3>两张图</h3>
  <el-row :gutter="10">
    <el-col :span="4"><img src="2024.png" style="width:50%;"></el-col>
    <el-col :span="8"><img src="2024.png" style="width:50%;"></el-col>
    <el-col :span="10"><img src="2024.png" style="width:50%;"></el-col>
  </el-row>


  <h3>8个等分的列</h3>
  <el-row :gutter="10">
    <el-col :span="3" v-for="i in 8">{{i}}</el-col>
  </el-row>



  <el-row>
    <el-col :span="12" style="border: 5px solid #f00;">左侧</el-col>
    <el-col :span="12" style="border: 5px solid #0f0;">
      <el-row>
        <el-col :span="8" style="border : 5px solid #f00;">1</el-col>
        <el-col :span="8" style="border : 5px solid #0ff;">2</el-col>
        <el-col :span="8" style="border : 5px solid #f0f;">3</el-col>
      </el-row>
    </el-col>
  </el-row>
 </template>
<script setup>



</script>

<style scoped>

</style>